import { add as mathAdd, evaluate, subtract, MathType, multiply, divide } from 'mathjs'



export function add(x: number, y: number) {
    return Number(mathAdd(x, y))
}


export function sub(x: number, y: number) {
    return Number(subtract(x, y))
}

export function mul(x: number, y: number) {
    return Number(multiply(x, y))
}

export function division(x: number, y: number) {
    return Number(divide(x, y))
}